package pl.kosmowska.ewelina.server;

import java.util.ArrayList;

public class ServerConstants {
	
	static String categoryNames[] ={"Dom", "Zdrowie", "Rozrywka", "Edukacja", "Zakupy", "Wakacje", "Święta", "Dojazdy", "Ubezpieczenia", "Finansowe", "Planer", "Import"};
	static String homeCategory[] = {"Wyposażenie","Rachunki","Czynsz","Remonty/Naprawy"};
	static String healthCategory[] = {"Leki","Wizyty lekarskie","Zabiegi"};
	static String entertainmentCategory[] = {"Kino","Teatr","Książki","Gry"};
	static String educationCategory[] = {"Czesne","Pomoce naukowe"};
	static String shoppingCategory[] = {"Codzienne","Odzież","Kosmetyki"};
	static String vacationCategory[] = {"Wycieczki","Opłaty","Jedzenie"};
	static String holidayCategory[] = {"Organizacja","Prezenty"};
	static String cummutingCategory[] = {"Utrzymanie samochodu","Paliwo","Bilety"};
	static String insuranceCategory[] = {"Samochodowe samochodu","Na życie","Zdrowotne"};
	static String financialCategory[] = {"Kredyty","Lokaty","Giełda"};
	static String planerCategory[] = {"Oszczędzanie"};
	static String importCategory[] = {"Import"};
	
	static ArrayList<DefaultCategoryBean> categoryList = new ArrayList<DefaultCategoryBean>();
	static ArrayList<String []> categoryItemsList = new ArrayList<String[]>();
	
	public static ArrayList<DefaultCategoryBean> getDefaultCategoryList(){
		initCategoryList();
		return categoryList;
	}

	private static void initCategoryList() {
		categoryItemsList.add(homeCategory);
		categoryItemsList.add(healthCategory);
		categoryItemsList.add(entertainmentCategory);
		categoryItemsList.add(educationCategory);
		categoryItemsList.add(shoppingCategory);
		categoryItemsList.add(vacationCategory);
		categoryItemsList.add(holidayCategory);
		categoryItemsList.add(cummutingCategory);
		categoryItemsList.add(insuranceCategory);
		categoryItemsList.add(financialCategory);
		categoryItemsList.add(planerCategory);
		categoryItemsList.add(importCategory);
		
		
		
		for (int i=0; i<categoryNames.length;i++){
			DefaultCategoryBean defaultCategoryBean = new DefaultCategoryBean(categoryNames[i], categoryItemsList.get(i));
			categoryList.add(defaultCategoryBean);
		}
		
		
	}

	

}
